package com.mycompany.inventory.pojo;

import org.zkoss.bind.annotation.DependsOn;

public class Currency {
	

	private String Id;
	private String name;	
	private String sign;
	
	public Currency(String id, String name, String sign) {		
		Id = id;
		this.name = name;
		this.sign = sign;
	}
	
	public Currency(){
		Id = "";
		this.name = "";
		this.sign = "";
	}
	
	public void clear(){
		Id = "";
		this.name = "";
		this.sign = "";
	}
	
	public void copyValue(Currency cur){
		Id = cur.getId();
		this.name = cur.getName();
		this.sign = cur.getSign();
	}

	public String getId() {
		return Id;
	}

	public void setId(String id) {
		Id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String toString(){
		return name;
	}
	
}
